package com.blb.service;

import com.blb.entity.IoWarehouse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 出入库表 服务类
 * </p>
 *
 * @author xiaoxiong
 * @since 2020-05-20
 */
public interface IIoWarehouseService extends IService<IoWarehouse> {
    public List<Map> areaName(String name);

    //按库区查询货架
    public List<Map> shelfNo(String warehouseName,String areaName);

    //按仓库、库区、货架查询货位
    public List<Map> spaceNo(String warehouseName,String areaName,String shelfNo);

    //获取入库商品信息(采购订单入库)
    public List<Map> storageAll();

    //获取入库商品信息（生产入库）
    public List<Map> handoverAll();

    //商品入库
    public void storageAdd(Map map);

    //出库商品信息
    public List<Map> outAll();

    //商品出库
    public void outAdd(Map map);

    //分页查询
    public List<IoWarehouse> warehouseAll(Map map);

    //查询总条数
    public int count(Map map);
}
